package io.renren.modules.token.service;

import io.renren.common.exception.RRException;
import io.renren.modules.token.request.InfoRequest;

import java.util.List;
import java.util.Map;

public interface ApiTokenInfoService {

    /***
     * 登录信息
     * @param request
     * @return
     */
    Map info(InfoRequest request) throws RRException;

    /***
     * 用户信息
     * @param request
     * @return
     */
    Map sysUser(InfoRequest request) throws RRException;

    /***
     * 角色信息
     * @param request
     * @return
     */
    List sysRoles(InfoRequest request) throws RRException;

    /***
     * 服务信息
     * @param request
     * @return
     */
    List authzCodes(InfoRequest request) throws RRException;

    /***
     * 基础信息
     * @param request
     * @return
     */
    Map cuInfo(InfoRequest request) throws RRException;

    /***
     * 统计信息
     * @param request
     * @return
     */
    Map cuCount(InfoRequest request) throws RRException;

    /***
     * 账号信息
     * @param request
     * @return
     */
    Map cuAccount(InfoRequest request) throws RRException;






}
